innerHtml

public abstract String innerHtml()

Returns a string with the HTML content of this element, or an empty string if the element does not have inner HTML.

Throws

when this instance is closed


public abstract boolean innerHtml(String html)

Replaces the HTML content of this element with the given html.

Return

true when the HTML content of the element was successfully replaced

Parameters

html

a new HTML content of this element

Throws

when this instance is closed